// 引入库
import Vue from 'vue'
import Vuex from 'vuex'
import getters from './getters.js'
import user from './modules/user.js'
import setting from './modules/setting.js'
// use 注册
Vue.use(Vuex)

export default new Vuex.Store({
  strict: true,

  getters,

  modules: {
    user,
    setting
  }
})